<%@ include file="header.jsp" %>

</head>
<body>
    <div class="content">
        <div class="defaultBlock">
            <ul class="standardList">
                <c:forEach var="moaning" items="${moanings}">
                    <li>
                        <a href="moanings/${moaning.id}" target="#">${moaning.text}</a>
                        <c:if test="${fn:length(moaning.replies) > 0}">
                            (${fn:length(moaning.replies)} replies)
                        </c:if>
                    </li>
                </c:forEach>
            </ul>
        </div>
    </div>
</body>
</html>
